<script>
    
const arr = [1, 2, 3, 4, [1, 2, 3, [1, 2, 3, [1, 2, 3]]], 5, "string", { name: "弹铁蛋同学" }]
//1、instanceof
let isa = arr instanceof Array
console.log(isa)
//2、constructor
let isb = arr.constructor == Array
console.log(isb)
//3、Object.prototype.toString.call()
let isc = Object.prototype.toString.call(arr) == '[object Array]'
console.log(isc)
let isd = Array.isArray(arr)
console.log(isd)

</script>